import service from '@/utils/public.js'

export const loginApi=(username,password)=>{
    return service({
        url:'/login',
        method:'post',
        data:{
            username:username,
            password:password
        }
    })
}